﻿using Microsoft.EntityFrameworkCore;
using Poem.Core.Entities;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;

namespace Poem.EF.EntityFramework
{
    [ConnectionStringName("Peom")]
    public interface IPoemDbContext : IEfCoreDbContext
    {
        DbSet<Poet> Poets { get; set; }
        DbSet<Core.Entities.Poem> Poems { get; set; }
        DbSet<Category> Categories { get; set; }
        DbSet<CategoryPoem> CategoryPoems { get; set; }
    }
}
